package com.stefanini.pe.bbva.iivs.in.model.mantenimiento;

import java.util.ArrayList;
import java.util.List;

import com.stefanini.pe.bbva.iivs.in.bo.iface.EstudioService;
import com.stefanini.pe.bbva.iivs.in.listeners.SpringInit;
import com.stefanini.pe.bbva.iivs.in.to.Estudio;

public class EstudioAbogadoModel {
	
	private EstudioService estudioService;
	
	public EstudioService getEstudioService() {
		return estudioService;
	}

	public void setEstudioService(EstudioService estudioService) {
		this.estudioService = estudioService;
	}

	Estudio estudio = new Estudio();
	List<Estudio> lstEstudioAbogado = new ArrayList<Estudio>();
	String lblError_Text = "";
	boolean booModificar=true;
	String lblInfo_Text = "";
	
	public EstudioAbogadoModel() {
		estudioService = (EstudioService)SpringInit.getApplicationContext().getBean("estudioService");
	}

	public Estudio getEstudio() {
		return estudio;
	}

	public void setEstudio(Estudio estudio) {
		this.estudio = estudio;
	}

	public List<Estudio> getLstEstudioAbogado() {
		return lstEstudioAbogado;
	}

	public void setLstEstudioAbogado(List<Estudio> lstEstudioAbogado) {
		this.lstEstudioAbogado = lstEstudioAbogado;
	}

	public String getLblError_Text() {
		return lblError_Text;
	}

	public void setLblError_Text(String lblError_Text) {
		this.lblError_Text = lblError_Text;
	}

	public boolean isBooModificar() {
		return booModificar;
	}

	public void setBooModificar(boolean booModificar) {
		this.booModificar = booModificar;
	}

	public String getLblInfo_Text() {
		return lblInfo_Text;
	}

	public void setLblInfo_Text(String lblInfo_Text) {
		this.lblInfo_Text = lblInfo_Text;
	}

}
